package com.wise.config;

import com.wise.framework.web.JwtService;
import com.wise.framework.web.UserAuthInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yubo
 */
@Configuration
public class WebConfiguration {

    @Bean
    public UserAuthInterceptor userAuthInterceptor(){
        return new UserAuthInterceptor();
    }
    @Bean
    public JwtService jwtService(){
        return new JwtService();
    }
}
